package com.codepilot.server.mapper;

import org.apache.ibatis.annotations.Mapper;

import com.codepilot.server.model.entity.User;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserMapper {

    User findByUsername(String username);

    User findByEmail(String email);

    int insert(User user);

    int modify(User user);

    int updateTime(User user);

    int passwd(User user);

    int unregister(User user);

}
